package com.woniuxy.store.core.exception;

import lombok.Data;

/**
 * Date: 2021/6/17:20:47  <br/>
 * Description:
 */
@Data
public class LoginException extends RuntimeException{
    private int code;
    private String message;

    public LoginException() {
    }

    public LoginException(String message) {
        super(message);
    }

    public LoginException(String message, Throwable cause) {
        super(message, cause);
    }

    public LoginException(Throwable cause) {
        super(cause);
    }

    public LoginException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
